{assign name='__category_list__' value=':get_category_tree()'}

<div class="fly-header layui-bg-black">
	<div class="layui-container">
		<a class="fly-logo" href="/">
			<img src="/images/logo.png" alt="layui">
		</a>

		<ul class="layui-nav fly-nav layui-hide-xs">
			{volist name='__category_list__' id='vo'}
			<li class="layui-nav-item {present name='vo.child'}show-sub-cate{/present}" data-id="{$vo.id}">
				<a href="javascript:void(0)">
<!--					<i class="iconfont icon-jiaoliu"></i>-->
					{$vo.title}
				</a>
			</li>
			{/volist}
		</ul>
	</div>
</div>

<div class="fly-panel fly-column" id="sub_cate_container" style="display: none;">
	<div class="layui-container">
		{volist name='__category_list__' id='vo'}
		{present name='vo.child'}
		<ul class="layui-clear" id="sub_cate_{$vo.id}" style="display: none;">
			{volist name='vo.child' id='vc'}
			<li><a href="/">{$vc.title}</a></li>
			{/volist}
		</ul>
		{/present}
		{/volist}
	</div>
</div>
